<template>
    <el-input v-model="value" v-bind='$attrs' @input='getValue'></el-input>
</template>

<script>
    export default {
        data() {
            return {
                value:''
            }
        },
        mounted(){
            this.$emit('emitValue','')
        },
        methods:{
            getValue(val){
                this.$emit('emitValue',val)
            },
            reset(){
                this.value = ''
            }
        }
    }
</script>